package com.ccc3gc.mysystem.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Staff extends BaseEntity {
    private Integer staffId;
    @Excel(name = "工号",width = 20)
    private String jobNumber;
    private String password;
    @Excel(name = "配送员姓名",width = 20)
    private String staffName;
    @Excel(name = "性别", readConverterExp = "0=男,1=女")
    private Integer sex;
    @Excel(name = "手机号码")
    private String phone;
    private String briefInfo;
    private String image;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date createTime;
    private Integer authId;
}
